/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.component.mail.service.processor;

import info.peigen.hotpot.common.service.base.processor.Processor;
import info.peigen.hotpot.component.mail.repository.service.MailTemplateRepository;
import lombok.AccessLevel;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import org.noear.solon.annotation.Inject;
import org.simplejavamail.api.email.Email;
import org.simplejavamail.api.mailer.Mailer;

/**
 * <b>(AbstractMailServiceProcessor)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/11/16
 */
@FieldDefaults(level = AccessLevel.PROTECTED)
@Accessors(chain = true)
public abstract class AbstractMailServiceProcessor implements Processor {
    @Inject
    Mailer                 mailer;
    @Inject
    Email                  email;
    @Inject
    MailTemplateRepository mailTemplateRepository;
}